package app.vendorportal.api.marketplace.data.response;

import app.vendorportal.api.marketplace.data.MarketplaceSubmitOrderResult;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * @author carl.you
 */
@XmlRootElement(name = "market-place-submit-order-response")
@XmlAccessorType(XmlAccessType.FIELD)
public class MarketplaceSubmitOrderResponse {

    private String vendorNumber;

    private final List<MarketplaceSubmitOrderResult> resultList = new ArrayList<>();

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public List<MarketplaceSubmitOrderResult> getResultList() {
        return resultList;
    }
}
